<%= case token_transfer_amount(@transfer) do %>
    <% {:ok, :erc721_instance} -> %>
        <%= render BlockScoutWeb.TransactionView, "_transfer_token_with_id.html", transfer: @transfer, token_id: List.first(@transfer.token_ids) %>
    <% {:ok, :erc1155_erc404_instance, value} -> %>
        <% transfer_type = Chain.get_token_transfer_type(@transfer) %>
        <%= if transfer_type == :token_spawning do %>
            <%= render BlockScoutWeb.TransactionView, "_transfer_token_with_id.html", transfer: @transfer, token_id: List.first(@transfer.token_ids) %>
        <% else %>
            <%= "#{value} " %>
            <%= render BlockScoutWeb.TransactionView, "_transfer_token_with_id.html", transfer: @transfer, token_id: List.first(@transfer.token_ids) %>
        <% end %>
    <% {:ok, :erc1155_erc404_instance, values, token_ids, _decimals} -> %>
        <% values_ids = Enum.zip(values, token_ids) %>
        <%= for {value, token_id} <- values_ids do %>
            <div>
            <%= "#{value} "%>
            <%= render BlockScoutWeb.TransactionView, "_transfer_token_with_id.html", transfer: @transfer, token_id: token_id %>
            </div>
        <% end %>
    <% {:ok, value} -> %>
        <%= value %>
        <%= " " %><%= render BlockScoutWeb.TransactionView, "_link_to_token_symbol.html", transfer: @transfer %>
<% end %>
